-
Notifications
You must be signed in to change notification settings - Fork 430
Move node_tilable_track_nums_ to rr_graph_storage and add remove_node #3347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ile if graph type is tileable
|
What's the use case of removing nodes? |
For the custom RR graph, in the other PR there are channel nodes, particularly around the perimeter of the device, that don’t have any fan-in. We need to remove these nodes after the graph is created. I considered not adding them in the first place, but that’s difficult to determine before the edges are added. As we discussed earlier, I’m trying to break the custom RR graph PR into multiple smaller PRs to make the review process easier. |
AmirhosseinPoolad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR Amin. Had some comments.
AmirhosseinPoolad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Misclicked, didn't mean to approve. Sorry!
…parse_ptc_numbers to rr graph util
I’ll happily take that approval anyway 😁 |
|
@AmirhosseinPoolad: I’ve addressed your comments. I’d appreciate it if you could take another look at the PR and let me know if you have any further feedback. It would be great if we could finalize this PR today! |
AmirhosseinPoolad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for being late! This looks good other than the lambda capture list (super dangerous imo to capture everything by non-const reference and it wouldn't be clear to future maintainers which outside variables the lambda is actually using without going through the lambda code). I still need another person to look at the flag change.
|
Thanks, @AmirhosseinPoolad . I’ve applied the changes you recommended. Please let me know if you have any further comments. |
AmirhosseinPoolad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This PR depends on PR #3342. Please wait until that PR is merged.
In this PR, node_tilable_track_nums_ is moved into the RR graph storage instead of residing in the RR graph builder, since this data structure (when using a tileable RR graph) needs to remain valid for the entire lifetime of the RR graph.
Additionally, a method is added to facilitate removing nodes from the RR graph.